<input type="button" value="Say hello" onClick="showAndroidToast('Hello Android!')" />

<script type="text/javascript">
    function showAndroidToast(toast) {
        Android.showToast(toast);
    }
    
    function funFromjs(strings){
    	document.getElementById("helloweb").innerHTML=strings;
    }
    
</script>

<div id="helloweb">
	
</div>